Pruning To appear in ASPLOS 2009 . Preliminary draft

نویسندگان

  • Michael D. Bond
  • Kathryn S. McKinley
چکیده

Managed languages improve programmer productivity with type safety and garbage collection, which eliminate memory errors such as dangling pointers, double frees, and buffer overflows. However, programs may still leak memory if programmers forget to eliminate the last reference to an object that will not be used again. Leaks slow programs by increasing collector workload and frequency. Growing leaks crash programs. Instead of crashing, leak pruning extends program availability by predicting and reclaiming leaked objects at run time. Whereas garbage collection over-approximates live objects using reachability, leak pruning predicts dead objects and reclaims them based on how stale they are and the size of stale data structures. Leak pruning preserves semantics because it waits for heap exhaustion before reclaiming objects and then poisons references to objects it reclaims. If the program later tries to access these objects, the virtual machine (VM) throws an internal error. We implement leak pruning in a Java VM, show its overhead is low, and evaluate it on 10 leaking programs. Leak pruning does not help two programs, executes four substantial programs 1.6-35X longer, and executes four programs, including two leaks in Eclipse, for at least 24 hours. In the worst case, leak pruning defers fatal errors. In the best case, programs with unbounded memory requirements execute indefinitely and correctly in bounded memory with consistent throughput.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Investigation of a Cold Model of Internally Circulating Fluidized Bed with Draft Tube to be used as a two-Zone Fluidized Bed Reactor

In this research, a cold model of internally circulating fluidized bed is investigated. The aim is to find the effects of some of the operating parameters on the performance of the reactor. Experiments were carried out in a glass column (30 mm i.d. and 25 cm height) with a centrally located draft tube (11 mm i.d. and 5 or 7 cm height). The bed was loaded with white silica particles (dp = 0.15 -...

متن کامل

Effect of pruning on growth, development, seed yield and active substances of Pumpkin (Cucurbita pepo convar. pepo var. styriaca)

The objective of this study was to investigate the effect of pruning in different developmental stages on growth, development, seed yield and active substances of medicinal pumpkin (these active substances are uses for remedy the Benign Prostatic Hyperplasia (BPH)). The experiment was performed in a RCB design. Five pruning treatments in different developmental stages (no pruning, after 3-5 nod...

متن کامل

Investigating Effect of Short, Medium, and Long Pruning on Yield And Yield Components of Tayefi Grape Before and After Winter Cold

One of the most important operations in managed gardens is pruned grapes. For evaluate the effect of pruning short, medium, heavy on yield and yield components of Taif grapes, before and after the cold winter, in the years 2012 to 2013, A factorial experiment in a CRBD design with five replicates were performed on two factors. The first factor was the number of buds per stem and included the th...

متن کامل

Investigating Effect of Short, Medium, and Long Pruning on Yield And Yield Components of Tayefi Grape Before and After Winter Cold

One of the most important operations in managed gardens is pruned grapes. For evaluate the effect of pruning short, medium, heavy on yield and yield components of Taif grapes, before and after the cold winter, in the years 2012 to 2013, A factorial experiment in a CRBD design with five replicates were performed on two factors. The first factor was the number of buds per stem and included the th...

متن کامل

The Effects of Pruning and Potassium Nutrition on Some Morphological Traits and Seedling Properties of Pumpkin (Cucurbita pepo L.)

In order to investigate the effect of pruning and potassium nutrition on pumpkin grain yield and quality, a factorial experiment based on complete block design with four replications was carried out in nooshar village of ardabil province, Ardabil, Iran, in 2007. Experimental factors include potassium nutrition in three level (0, 75 and 150 kg/ha from potassium sulfate) and stem pruning (without...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008